package com.example.demo.entity.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/*
 *
 *   @Author:新闻添加VO
 *   @Date: 2024/3/13-03-13-18:45
 *
 */
@Data
@ApiModel(value = "NewsVO对象", description = "用于添加新闻")
public class NewsAddVO {
    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("小编")
    private String author;

    @ApiModelProperty("新闻时间")
    private LocalDate newTime;
}
